package cn.xfdzx.android.apps.shop.activity;


import android.content.Intent;
import android.view.View;

import butterknife.OnClick;
import cn.xfdzx.android.apps.shop.R;
import cn.xfdzx.android.apps.shop.activity.ruzhu.AgreementActivity;
import cn.xfdzx.android.apps.shop.activity.ruzhu.XFDShopInActivity;
import cn.xfdzx.android.apps.shop.base.BaseMvpActivity;
import cn.xfdzx.android.apps.shop.util.Utils;

public class MerchantsInActivity extends BaseMvpActivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_merchants_in;
    }

    @Override
    public void initView() {

    }

    @Override
    public void showLoading() {

    }

    @Override
    public void hideLoading() {

    }

    @Override
    public void onError(Throwable throwable) {

    }
    Intent intent;
    @OnClick({R.id.iv_lingshou, R.id.iv_merchants})
    public void Onclick(View view) {
        switch (view.getId()) {
            case R.id.iv_lingshou:
                if (Utils.isFastClick()) {
                    intent = new Intent(this, AgreementActivity.class);
                    intent.putExtra("type", "0");
                    startActivity(intent);
                }
                break;
            case R.id.iv_merchants:
                intent=new Intent(this, AgreementActivity.class);
                intent.putExtra("type","1");
                startActivity(intent);

                break;
        }

    }

    @Override
    protected boolean isUseFullScreenMode() {
        return true;
    }
}
